package cn.edu.njpi.service.impl;

import cn.edu.njpi.mapper.TCollageAdminMapper;
import cn.edu.njpi.model.TCollageAdmin;
import cn.edu.njpi.service.TCollageAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.njpi.service.impl
 * @date 2022/4/20 8:30 PM
 */
@Service
public class TCollageAdminServiceImpl implements TCollageAdminService {
    @Autowired
    private TCollageAdminMapper tCollageAdminMapper;

    @Override
    public TCollageAdmin selectTCollageAdminByUserId(Integer userId) {
        return tCollageAdminMapper.selectTCollageAdminByUserId(userId);
    }
}
